package com.rtu.dao;

import java.util.ArrayList;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.rtu.domain.Station;
import com.rtu.dto.QueryStationDto;
import com.rtu.dto.QueryStationRainReportDto;
import com.rtu.dto.RainWaterDto;
import com.rtu.dto.RainWaterReportDto;
import com.rtu.dto.StationResponse;
import com.rtu.dto.YearSiphonDto;

@Repository
public interface ILzRainStationDao {

    List<StationResponse> query(QueryStationDto dto);

    Integer count();
    Integer countRainlist(QueryStationRainReportDto dto);
    Integer countRainYearlist(QueryStationRainReportDto dto);
    List<RainWaterDto> queryRainlist(QueryStationRainReportDto dto);
    List<YearSiphonDto> queryRainYearlist(QueryStationRainReportDto dto);
    List<RainWaterReportDto> queryRainReport(QueryStationRainReportDto dto);
    
    Double queryTodayRain (QueryStationRainReportDto dto); 
    Double queryBeforeRain(QueryStationRainReportDto dto);
   
    Station queryById(Integer stationId);  
    int delRainStationById(Integer stationId);
    
    int updateStation(Station station);
    
    int insertStation(Station station);
    
    List<Station> queryAllStation();
}
